<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class db_model extends CI_Model {

    public function __construct() {
        error_reporting(0);
        parent::__construct();
    }
    
    public function getCount(){
                $resultset = $this->db->query("SELECT FOUND_ROWS() as current_query_num_row");
                return $resultset->row()->current_query_num_row;
    }
    
}
?>
